﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for CXPromoView
/// </summary>
/// 
namespace CE.Promotion
{
    public class CXPromoView
    {

        private Int64 _promoviewid;
        private string _ipnumber;
        private string _browsertype;
        private string _emailaddress;

        public CXPromoView()
        {
            //
            // TODO: Add constructor logic here
            //

            ClearFields();
        }

        public Int64 PromoViewId
        {
            get { return _promoviewid; }
            set { _promoviewid = value; }
        }

        public string IPNumber
        {
            get { return _ipnumber; }
            set { _ipnumber = value; }
        }

        public string BrowserType
        {
            get { return _browsertype; }
            set { _browsertype = value; }
        }

        public string EmailAddress
        {
            get { return _emailaddress; }
            set { _emailaddress = value; }
        }

        public void ClearFields()
        {
            _promoviewid = 0;
            _ipnumber = "";
            _browsertype = "";
            _emailaddress = "";
        }
    }
}